package com.zrwl.poscloud.xo.mapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zrwl.poscloud.base.entity.UserServiceOrder;
import com.zrwl.poscloud.base.superI.SuperMapper;
import com.zrwl.poscloud.xo.vo.BusinessProductDetailVO;
import com.zrwl.poscloud.xo.vo.UserServiceOrderUseVO;
import com.zrwl.poscloud.xo.vo.UserServiceOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 服务采购 Mapper类
 *
 * @author 刘思童 AutoGenerate
 * @date 2023-02-28
 */
public interface UserServiceOrderMapper extends SuperMapper<UserServiceOrder> {
    IPage<UserServiceOrderVO> getPageList(@Param("page") Page page, @Param("param") UserServiceOrderVO userServiceOrderVO);

    List<UserServiceOrderVO> getCurrentUserServiceOrder(@Param("param") UserServiceOrderVO userServiceOrderVO);
    List<BusinessProductDetailVO> getPackageContent(@Param("configUid") String configUid);

    UserServiceOrderVO getOrderByUserId(@Param("employeeUid") String employeeUid);

}
